--[[ ref.1
local s = "Test"
local index = GetChannelName("Trade") -- finds given names's channel index No.
if (index~=nil) then 
   SendChatMessage(s , "CHANNEL", nil, index); 
end
--]]

local links = {
   3928,
   22890,
}

local recv = "Unknown"		-- player name for WHISPER use.
--local ct = "SAY"		-- if this line UNcomment, below line WHISPER need to commented out.
local ct = "WHISPER"

for i,v in ipairs(links) do
	if ct == "SAY"
		then recv = nil
	end
	local getlink = (select(2,GetItemInfo(v)))
	local chatlibprefix = "JDWoW>"
	--SendChatMessage(">>> "..getlink,ct,nil,recv)
	ChatThrottleLib:SendChatMessage("NORMAL", chatlibprefix, getlink, ct, nil, recv)
end

-- ToDo: Count items in table to send 3 links in single line.